




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/08/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.research1bm.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.research1bm.entity.Research1bm;
import com.application.research1bm.struts.form.Research1bmForm;
import com.application.research1bm.dao.Research1bmDAO;
 /**
 * 
 * Description:Research1bmService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 左磊 QQ：30575951    <br />
 * 
 * History: <br />
 * 
 * 02/08/2012 
 * 
 */
public class Research1bmService extends BaseService
{
	private Research1bmDAO research1bmDAO;

	public Research1bmDAO getResearch1bmDAO() {
		return this.research1bmDAO;
	}

	public void setResearch1bmDAO(Research1bmDAO research1bmDAO) {
		this.research1bmDAO = research1bmDAO;
	}
        

        public Research1bm getResearch1bm(Research1bm research1bm) {
		return (Research1bm) this.getBaseDao().queryByPk(research1bm, research1bm.getId());
	}
	
	public Integer getAllCountResearch1bm(Research1bmForm research1bmForm){
		return this.research1bmDAO.getAllCountResearch1bm(research1bmForm);
	}
	
	public List<Research1bm> searchResearch1bm(Research1bmForm research1bmForm, PageBean pageBean) throws Exception {
		List<Research1bm> research1bmList = (List) this.research1bmDAO.searchResearch1bm(research1bmForm, pageBean);
		return research1bmList;
	}
        
        public void deleteResearch1bms(Research1bmForm research1bmForm){
	   this.research1bmDAO.deleteResearch1bms(research1bmForm);	 
	}
        public List searchResearch1bm(final Research1bmForm research1bmForm) {
    		List<Research1bm> research1bmList = (List) this.research1bmDAO.searchResearch1bm(research1bmForm);
    		return research1bmList;
    	}
}
